package com.isoft.demo01.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.isoft.demo01.entity.Order;

import java.util.List;

public interface OrderService {
    public List<Order> find(Integer typeid);
    default boolean add(Order order){return false;}
    default boolean delById(Integer id ){return false;}
    default boolean delByIds(Integer[] ids){return false;}
    default boolean update(Order order){return false;}
    default Page<Order> getMore(Integer current, Integer size, Integer orderid, String ordertime, Integer allprice){
        return null;
    }
    default Order getById(Integer id){
        return null;
    }
    default public List<Order> getByOrderid(Integer orderid, Integer rowsCount){
        return null;
    }
    public boolean updatedel(Integer typeid,Boolean status);
    default public List<Order>getAllDetail(Integer rows){
        return null;
    }
}
